@import "../../../utils/theme";

.meal_popup_wrap {
  background: #fff;
  width: 100%;
  padding: 0 32rpx 24px;
  box-sizing: border-box;

  .btn_item {
    margin-top: 68px;
    width: 100%;
    box-sizing: border-box;
    height: 84rpx;
    background: #1FB26C;
    border-radius: 400rpx 400rpx 400rpx 400rpx;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: opacity .1s ease;
    &.hover{
      opacity: .7;
    }
  }

  .meal-list {
    flex: 1;
    //display: flex;
    //align-items: center;
    //flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    .metal-box-item {
      height: 200rpx;
      padding: 8rpx;
      box-sizing: border-box;
      position: relative;

      .meal-item {
        box-sizing: border-box;
        color: rgba(0, 0, 0, 0.9);
        border: 1px solid #8C8C8C;
        border-radius: 16rpx;
        align-items: center;
        display: flex;
        flex-flow: column;
        justify-content: center;
        background: #FFFFFF;
        transition: all .1s;
        white-space: nowrap;
        width: 100%;
        height: 100%;

        &.active {
          border-color: @primary-color;
          color: #FFFFFF;
          background: @primary-color;
        }

        .meal-name {
          font-size: 24rpx;
          white-space: pre-wrap;
          text-align: center;
          margin-bottom: 12rpx;
        }

        .meal-desc {
          font-weight: bold;
          font-size: 26rpx;
        }

        .meal-price {
          margin-top: 12rpx;
          line-height: 1;
          display: flex;
          align-items: flex-end;
          font-weight: bold;

          .pix {
            font-size: 30rpx;
          }

          .price {
            font-size: 32rpx;
          }
        }
      }

    }


  }

}

.meal_popup_wrap .meal-header {
  text-align: center;
  font-size: 32rpx;
  color: #444;
  padding: 24rpx 0;
}
